package com.levy.contronller.javase.designModel.builder;

/**
 * 房子 设计师
 * Created by levy on 2018/8/7.
 */
public class HouseDicrector {

//    private HouseBuilder houseBuilder;
//
//    public HouseDicrector(HouseBuilder houseBuilder) {
//        this.houseBuilder = houseBuilder;
//    }


//    public void  makeHouse(){
//        houseBuilder.makeFloor();
//        houseBuilder.makeWall();
//        houseBuilder.makeHouseTop();
//    }

    public void  makeHouse(HouseBuilder houseBuilder){
        houseBuilder.makeFloor();
        houseBuilder.makeWall();
        houseBuilder.makeHouseTop();
    }





}
